package com.xuanwu.ai.flow.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "流程数据表")
@TableName(value = "flow_data")
public class FlowData {
    @TableId(value = "id")
    @ApiModelProperty(value = "id")
    private Long id;

    @TableField(value = "tenant_id")
    @ApiModelProperty(value = "tenantId")
    private Integer tenantId;

    @TableField(value = "flow_id")
    @ApiModelProperty(value = "flowId")
    private Long flowId;

    @TableField(value = "flow_version_id")
    @ApiModelProperty(value = "流程版本id")
    private Long flowVersionId;

    @TableField(value = "flow_request_id")
    @ApiModelProperty(value = "flowRequestId")
    private String flowRequestId;

    @TableField(value = "flow_data")
    @ApiModelProperty(value = "flowData")
    private String flowData;

    @TableField(value = "status")
    @ApiModelProperty(value = "status")
    private Integer status;

    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
